<html>
	<head>
		<style>
			div{
				width:500px;
				height:500px;
				background:red;
			}
			
			.active{
				width:1000px;
				height:1000px;
				background:green;
			}
			
		</style>
	</head>
	
	
	<body>
		<div id="ele"></div>
		<script>
			var div = document.querySelector("#ele");
			div.onclick = function (){
				
				
			}
		
		
		</script>
	</body>
</html>